Module: Reading | .\src\TW\XMI\Reading.py | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Extend an SEF model with the ability to read XML Metadata Interchange filesUsage: import TW.XMI.Reading as SEF class MyMetaModel(SEF.App): class anElementOfMyMetaModel(SEF.Element): ... In other words, create a metamodel as you normally would with SEF classes,
but using the TW.XMI.Reading module instead of SEF. Of course, you can
also create your own variant modules that combine other aspects with this
one over the base SEF module. Also, you may choose to define your
metamodel in a module that does not import a specific variant of the SEF
module, but instead uses the default unless overridden in an inheriting
module. (See, for example,
|